package com.cizzy.video.service;

import com.cizzy.video.common.Result;
import com.cizzy.video.entity.dao.VideoCountDAO;
import com.baomidou.mybatisplus.extension.service.IService;

/**
 * <p>
 *  服务类
 * </p>
 *
 * @author crissy-月下闲人
 * @since 2023-10-29
 */
public interface IVideoCountService extends IService<VideoCountDAO> {
    Result<VideoCountDAO> createVideoCount(VideoCountDAO videoCount);

    void createVideoCountById(Long videoId);

    Result<VideoCountDAO> getVideoCountById(Long id);

    Result<VideoCountDAO> addVideoCountById(String column, Long id, int num);

//    Result<VideoCount> subVideoCountById(String column, Long id);
}
